
import ElementPlus from 'element-plus'
import * as ElIcons from '@element-plus/icons-vue'
import 'element-plus/dist/index.css' // elementPlus基础样式

// 全局注册ElementPlus组件/图标
export function setupElementUI (app) {
  app.use(ElementPlus)
  for (const [key, component] of Object.entries(ElIcons)) {
    app.component(key, component)
  }
}

